/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "F2ESDK_CONFIG|RSA_PUBLICKEY|DOWNLOAD_URL" }] */
/**
 * @author huangbiao 20171016
 * @desc 公共组件
 * */

// const GATEWAY_URL = 'http://sysgateway.zlst.com/gateway/';
const GATEWAY_URL = 'http://gateway.zlst.com/gateway/'// 开发环境
// var GATEWAY_URL ="http://gateway.mesturndev.com/gateway/";//转测环境
// var GATEWAY_URL ="http://mestest.gateway.com/gateway/";//测试环境
const SYSTEM_SERVER_URL = GATEWAY_URL + 'api-ms'
const PUBDATA_URL = GATEWAY_URL + 'api-pd'
const DOWNLOAD_URL = 'http://mes.zlst.com/' // 开发环境下载地址
const RSA_PUBLICKEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCB/aF5+eAtsN4NZJikjc7XrG+KyUwOkNzZf4XYPDVGNXV7l+QL4lVB58VBZmAqj3YyCjKrjZ4u6q8BTVcKxgE7XVIbZ6br6H2RpT8qTRJaNiUYobH7hHtfdwb8TWuv0SKHaOapYID3Wx9fAhtXecz+3Ws2mNaWUdZCOSMwQ3k4QQIDAQAB'

module.exports = {
  apiServer: {
    BASE_SERVER: GATEWAY_URL,
    // 业务逻辑的IP
    BASE_URL: SYSTEM_SERVER_URL,
    PROVINCES_URL: PUBDATA_URL,
    STAFF_URL: SYSTEM_SERVER_URL,
    DICTIONARY_URL: SYSTEM_SERVER_URL + '/system/dictionarys/items',
    QMS: GATEWAY_URL + 'api-quality', // qms数据接口,
    // 公共数据服务器IP
    PUBDATA_SERVER: PUBDATA_URL
  }
}
